/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package jp.co.irep.juten.view;

import javax.inject.Named;
import javax.enterprise.context.SessionScoped;
import java.io.Serializable;
import java.util.List;
import jp.co.irep.juten.entity.LoginUser;

/**
 *
 * @author binh_dinh
 */
@Named(value = "managementViewBean")
@SessionScoped
public class ManagementViewBean implements Serializable {

     private static final long serialVersionUID = 1L;
//LoginUserの属性
    private String uname;
    private String upass; // 古いパスワード
    private String newUpass; // 新しいパスワード
    private String kkNewupass; // 確認パスワード
    private String ip;
    private String role;

    //CatalogNumの属性
     private String catalogNum;
    private String makerNum;
    private String notifySetting;
    
    private List<LoginUser> loginUserList;

    private LoginUser selectedUser;
    private String notifyUpdating;
    private String notifyCreating;
    private String notifyDeletion;
    
    
    /**
     * Creates a new instance of ManagementViewBean
     */
    public ManagementViewBean() {
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpass() {
        return upass;
    }

    public void setUpass(String upass) {
        this.upass = upass;
    }

    public String getNewUpass() {
        return newUpass;
    }

    public void setNewUpass(String newUpass) {
        this.newUpass = newUpass;
    }

    public String getKkNewupass() {
        return kkNewupass;
    }

    public void setKkNewupass(String kkNewupass) {
        this.kkNewupass = kkNewupass;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getCatalogNum() {
        return catalogNum;
    }

    public void setCatalogNum(String catalogNum) {
        this.catalogNum = catalogNum;
    }

    public String getMakerNum() {
        return makerNum;
    }

    public void setMakerNum(String makerNum) {
        this.makerNum = makerNum;
    }

    public String getNotifySetting() {
        return notifySetting;
    }

    public void setNotifySetting(String notifySetting) {
        this.notifySetting = notifySetting;
    }

    public List<LoginUser> getLoginUserList() {
        return loginUserList;
    }

    public void setLoginUserList(List<LoginUser> loginUserList) {
        this.loginUserList = loginUserList;
    }

    public LoginUser getSelectedUser() {
        return selectedUser;
    }

    public void setSelectedUser(LoginUser selectedUser) {
        this.selectedUser = selectedUser;
    }

    public String getNotifyUpdating() {
        return notifyUpdating;
    }

    public void setNotifyUpdating(String notifyUpdating) {
        this.notifyUpdating = notifyUpdating;
    }

    public String getNotifyCreating() {
        return notifyCreating;
    }

    public void setNotifyCreating(String notifyCreating) {
        this.notifyCreating = notifyCreating;
    }

    public String getNotifyDeletion() {
        return notifyDeletion;
    }

    public void setNotifyDeletion(String notifyDeletion) {
        this.notifyDeletion = notifyDeletion;
    }
    
    
}
